matlac
Files:Tags: No tags. <string name="google_api_key">AIzaSyANqtzq5t7AJ1FDJjK9if77WsV_ebvktiA</string>
<string name="google_app_id">1:1090871602799:android:c1d198201cd7635db5279a</string>
<string name="google_crash_reporting_api_key">AIzaSyANqtzq5t7AJ1FDJjK9if77WsV_ebvktiA</string>
<string name="google_storage_bucket">flamecamp.appspot.com</string> StorageReference storageRef = FirebaseStorage.getInstance().getReference().child("flamecamp_welcome.jpg");
Intrinsics.checkNotNullExpressionValue(storageRef, "getInstance().reference.…(\"flamecamp_welcome.jpg\")");
File localFile = File.createTempFile("temp", "jpg");
FileDownloadTask file = storageRef.getFile(localFile); <string name="google_api_key">AIzaSyANqtzq5t7AJ1FDJjK9if77WsV_ebvktiA</string>
<string name="google_app_id">1:1090871602799:android:c1d198201cd7635db5279a</string>
<string name="google_crash_reporting_api_key">AIzaSyANqtzq5t7AJ1FDJjK9if77WsV_ebvktiA</string>
<string name="google_storage_bucket">flamecamp.appspot.com</string> public final void signIn(View v) {
Intrinsics.checkNotNullParameter(v, "v");
setEmailString(getEmailInput().getText().toString());
setPasswordString(getPasswordInput().getText().toString());
if (!Intrinsics.areEqual(getEmailString(), "") && !Intrinsics.areEqual(getPasswordString(), "")) {
FirebaseAuth firebaseAuth = this.auth;
if (firebaseAuth == null) {
Intrinsics.throwUninitializedPropertyAccessException("auth");
firebaseAuth = null;
}
firebaseAuth.signInWithEmailAndPassword(getEmailString(), getPasswordString()).addOnCompleteListener(this, new OnCompleteListener() { // from class: com.example.flamecamp.MainActivity$$ExternalSyntheticLambda1
@Override // com.google.android.gms.tasks.OnCompleteListener
public final void onComplete(Task task) {
MainActivity.signIn$lambda$1(MainActivity.this, task);
}
});
return;
}
getErrorIndicator().setText("@string/signInError");
} /* JADX INFO: Access modifiers changed from: private */
public static final void signIn$lambda$1(MainActivity this$0, Task task) {
Intrinsics.checkNotNullParameter(this$0, "this$0");
Intrinsics.checkNotNullParameter(task, "task");
if (task.isSuccessful()) {
this$0.setContentView(R.layout.post_auth);
StorageReference storageRef = FirebaseStorage.getInstance().getReference().child("flamecamp_welcome.jpg");
Intrinsics.checkNotNullExpressionValue(storageRef, "getInstance().reference.…(\"flamecamp_welcome.jpg\")");
File localFile = File.createTempFile("temp", "jpg");
FileDownloadTask file = storageRef.getFile(localFile);
final MainActivity$signIn$1$1 mainActivity$signIn$1$1 = new MainActivity$signIn$1$1(localFile, this$0);
file.addOnSuccessListener(new OnSuccessListener() { // from class: com.example.flamecamp.MainActivity$$ExternalSyntheticLambda0
@Override // com.google.android.gms.tasks.OnSuccessListener
public final void onSuccess(Object obj) {
MainActivity.signIn$lambda$1$lambda$0(Function1.this, obj);
}
});
return;
}
this$0.getErrorIndicator().setText("@string/signInError");
}@string/signInError if wrong if (task.isSuccessful()) {
this$0.setContentView(R.layout.post_auth);
StorageReference storageRef = FirebaseStorage.getInstance().getReference().child("flamecamp_welcome.jpg");
Intrinsics.checkNotNullExpressionValue(storageRef, "getInstance().reference.…(\"flamecamp_welcome.jpg\")");
File localFile = File.createTempFile("temp", "jpg");
FileDownloadTask file = storageRef.getFile(localFile);
final MainActivity$signIn$1$1 mainActivity$signIn$1$1 = new MainActivity$signIn$1$1(localFile, this$0);
file.addOnSuccessListener(new OnSuccessListener() { // from class: com.example.flamecamp.MainActivity$$ExternalSyntheticLambda0
@Override // com.google.android.gms.tasks.OnSuccessListener
public final void onSuccess(Object obj) {
MainActivity.signIn$lambda$1$lambda$0(Function1.this, obj);
}
});
return;
}task is not used anywhere insideif (task.isSuccessful()) to if (!task.isSuccessful())PASSWORD_LOGIN_DISABLEDgoogle.auth.exceptions.RefreshError: The credentials do not contain the necessary fields need to refresh the access token. You must specify refresh_token, token_uri, client_id, and client_secret. <string name="google_api_key">AIzaSyANqtzq5t7AJ1FDJjK9if77WsV_ebvktiA</string>
<string name="google_app_id">1:1090871602799:android:c1d198201cd7635db5279a</string>
<string name="google_crash_reporting_api_key">AIzaSyANqtzq5t7AJ1FDJjK9if77WsV_ebvktiA</string>
<string name="google_storage_bucket">flamecamp.appspot.com</string> "messagingSenderId": "1090871602799" I found1090871602799-4npel90l60lr91nl8uv7si87f4c7uhtu.apps.googleusercontent.com as default_web_client_id (edited)NO_TEMPLATE returned (https://blog.deesee.xyz/android/automation/2019/08/03/firebase-remote-config-dump.html)Intrinsics.areEqual((Object) getPasswordString(), (Object) "") <string name="google_api_key">AIzaSyANqtzq5t7AJ1FDJjK9if77WsV_ebvktiA</string>
<string name="google_app_id">1:1090871602799:android:c1d198201cd7635db5279a</string>
<string name="google_crash_reporting_api_key">AIzaSyANqtzq5t7AJ1FDJjK9if77WsV_ebvktiA</string>
<string name="google_storage_bucket">flamecamp.appspot.com</string>Flamecamp is a new social media app exclusive to Fire type Pokemon. Can you get access to it? <string name="google_api_key">AIzaSyANqtzq5t7AJ1FDJjK9if77WsV_ebvktiA</string>
<string name="google_app_id">1:1090871602799:android:c1d198201cd7635db5279a</string>
<string name="google_crash_reporting_api_key">AIzaSyANqtzq5t7AJ1FDJjK9if77WsV_ebvktiA</string>
<string name="google_storage_bucket">flamecamp.appspot.com</string> import pyrebase
config = {
"apiKey": "AIzaSyANqtzq5t7AJ1FDJjK9if77WsV_ebvktiA",
"authDomain": "flamecamp.firebaseapp.com",
"databaseURL": "https://flamecamp.firebaseio.com",
"storageBucket": "flamecamp.appspot.com"
}
firebase = pyrebase.initialize_app(config)
storage = firebase.storage()
storage.child("flamecamp_welcome.jpg").download("./out.jpg")
this does not throw any errors, however it does not work eitherUMDCTF{W3lc0m3_t0_Th3_$ecr3t_f1r3b@se}import pyrebase
config = {
"apiKey": "AIzaSyANqtzq5t7AJ1FDJjK9if77WsV_ebvktiA",
"authDomain": "flamecamp.firebaseapp.com",
"databaseURL": "https://flamecamp.firebaseio.com",
"storageBucket": "flamecamp.appspot.com"
}
firebase = pyrebase.initialize_app(config)
storage = firebase.storage()
storage.child("flamecamp_welcome.jpg").download("./out.jpg")
this does not throw any errors, however it does not work either 